package com.efesco.service.archives;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.DBStatement;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.efesco.common.CommUtil;

/**
 * V_service_product_manageViewModel
 */
public class V_service_product_manageViewModel extends DefaultViewModel {
  protected void doUpdateData(ParameterSet parameters)
      throws Exception {
	  Dataset dataset = getDataset("dataset_service_product");
	  CommUtil.dataUpdate(dataset,"service_product_id");
    super.doUpdateData(parameters);
  }
  public void deleteSelection(ParameterSet parameters)
  throws Exception {
	    Dataset dataset = getDataset("dataset_service_product");
	    CommUtil.dataDelete(dataset);
	        super.doUpdateData(parameters);
}

}
